# -*- coding: UTF-8 -*-

# @Time : 2020/8/27 10:07 

# @Author : litao

# @File : urls.py 

from django.urls import path
from . import views

app_name = 'article'

urlpatterns = [

    path('article-list/', views.article_list, name='article_list'),
    path('article-detail/<int:id>/', views.article_detail, name='article_detail'),
    # 创建文章
    path('article_create/', views.article_create, name='article_create'),
    # 安全删除文章
    path(
        'article-safe-delete/<int:id>/',
        views.article_safe_delete,
        name='article_safe_delete'
    ),
# 更新文章
    path('article-update/<int:id>/', views.article_update, name='article_update'),
]